package com.epigeon.amadeo.impl;

import java.util.LinkedList;
import java.util.List;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;

import com.epigeon.amadeo.modifier.Modifier;
import com.epigeon.amadeo.output.Output;

public abstract class PassiveList extends ListView implements Output {

	private List<Modifier> modifierList;

	public PassiveList(Context context, AttributeSet attrs) {
		super(context, attrs);
		this.modifierList = new LinkedList<Modifier>();
	}
	
	@Override
	public List<Modifier> getModifierList() {
		return this.modifierList;
	}
	
	@Override
	public void addModifier(Modifier modifier) {
		this.modifierList.add(modifier);		
	}

}
